package com.woniu113.junk.site.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu113.junk.site.dto.SuggestionDTO;
import com.woniu113.junk.site.model.Suggestion;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu113.junk.site.param.suggestion.AddSuggestionParam;
import com.woniu113.junk.site.param.suggestion.AllSuggestionParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 蜡笔没了小新
 * @since 2024年10月16日
 */
public interface SuggestionService extends IService<Suggestion> {


    public Suggestion addSuggestion(AddSuggestionParam param, Integer userId);


    public SuggestionDTO findAll(AllSuggestionParam param, Integer offset);
}
